/*多条件查询用户*/
function search() {
    var param = {};
    param.memberName = $("#condition [name=memberName]").val();
    param.caseNo = $("#condition [name=caseNo]").val();
    param.mobileNo = $("#condition [name=mobileNo]").val();
    param.mobileMobile = $("#condition [name=mobileMobile]").val();
    $("#liuChengTable").bootstrapTable("refresh", {query: param});
}

function formattreatmentState(state){
    return state==0?'未完成':state==1?'结账':'已完成';
}
function formatOpt(state){
    var opt = "";
    if(state==0){
        opt = '<a>--</a>';
    }else if(state==1){
        opt = '<a href="">结账</a>';
    }else if(state==2){
        opt = '<a href="">账单查看</a>'
    }
    return opt;
}